import { createApp } from 'vue'
import App from './App.vue'

const app = createApp(App)



import router from "./router/index";
app.use(router)

// import './permission' // permission control
import { createPinia } from 'pinia';
import piniaPluginPersist from 'pinia-plugin-persist'


import './style.css'

const store = createPinia();
store.use(piniaPluginPersist)
app.use(store)
app.use(router).mount('#app')
